/*  1:   */ package org.jetbrains.generate.tostring.test;
/*  2:   */ 
/*  3:   */ import java.util.Date;
/*  4:   */ 
/*  5:   */ public class Pet
/*  6:   */ {
/*  7:   */   private String a;
/*  8:   */   private Date b;
/*  9:   */   private Owner c;
/* 10:   */   
/* 11:   */   public String getName()
/* 12:   */   {
/* 13:30 */     return this.a;
/* 14:   */   }
/* 15:   */   
/* 16:   */   public void setName(String paramString)
/* 17:   */   {
/* 18:33 */     this.a = paramString;
/* 19:   */   }
/* 20:   */   
/* 21:   */   public Owner getOwner()
/* 22:   */   {
/* 23:36 */     return this.c;
/* 24:   */   }
/* 25:   */   
/* 26:   */   public Date getBirthDay()
/* 27:   */   {
/* 28:39 */     return this.b;
/* 29:   */   }
/* 30:   */   
/* 31:   */   public void setBirthDay(Date paramDate)
/* 32:   */   {
/* 33:43 */     this.b = paramDate;
/* 34:   */   }
/* 35:   */   
/* 36:   */   public boolean equals(Object paramObject)
/* 37:   */   {
/* 38:47 */     if (this == paramObject) {
/* 39:47 */       return true;
/* 40:   */     }
/* 41:48 */     if ((paramObject == null) || (getClass() != paramObject.getClass())) {
/* 42:48 */       return false;
/* 43:   */     }
/* 44:50 */     Pet localPet = (Pet)paramObject;
/* 45:52 */     if (!this.b.equals(localPet.b)) {
/* 46:52 */       return false;
/* 47:   */     }
/* 48:53 */     if (!this.a.equals(localPet.a)) {
/* 49:53 */       return false;
/* 50:   */     }
/* 51:54 */     if (!this.c.equals(localPet.c)) {
/* 52:54 */       return false;
/* 53:   */     }
/* 54:56 */     return true;
/* 55:   */   }
/* 56:   */   
/* 57:   */   public int hashCode()
/* 58:   */   {
/* 59:61 */     int i = this.a.hashCode();
/* 60:62 */     i = 31 * i + this.b.hashCode();
/* 61:63 */     i = 31 * i + this.c.hashCode();
/* 62:64 */     return i;
/* 63:   */   }
/* 64:   */   
/* 65:   */   public String toString()
/* 66:   */   {
/* 67:68 */     return "Pet{name='" + this.a + '\'' + ", birthDay=" + this.b + ", owner=" + this.c + '}';
/* 68:   */   }
/* 69:   */   
/* 70:   */   public void setOwner(Owner paramOwner)
/* 71:   */   {
/* 72:76 */     this.c = paramOwner;
/* 73:   */   }
/* 74:   */ }


/* Location:           E:\idea\
 * Qualified Name:     org.jetbrains.generate.tostring.test.Pet
 * JD-Core Version:    0.7.0.1
 */